﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Media.Imaging;

namespace Game77SharedLib
{
    public class GlobalUnit
    {
        public const string IMAGE_FILE = "Shared\\ShellContent";
        public const string IMAGE_JPG = ".jpg";

        private static BitmapImage defaultImage = null;

        public static BitmapImage sDefaultBitmap
        {
            get
            {
                if (defaultImage == null)
                {
                    defaultImage = new BitmapImage(new Uri("/Game77SharedLib;component/fullAd_1.jpg", UriKind.RelativeOrAbsolute));
                }
                return defaultImage;
            }
        }
    }
}
